package ldh.im.fxbase.data.pojo;

import ldh.im.fxbase.data.pojo.status.ImModuleStatus;

import java.util.Date;
import java.util.List;

public class ImModule {

    private Long id;
    private String name;
    private String description;
    private Integer no;
    private ImModuleStatus status;
    private Date createTime;
    private Date updateTime;

    private List<ImModuleItem> moduleItemList;

    public ImModule() {
        this.createTime = new Date();
        this.updateTime = this.createTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getNo() {
        return no;
    }

    public void setNo(Integer no) {
        this.no = no;
    }

    public ImModuleStatus getStatus() {
        return status;
    }

    public void setStatus(ImModuleStatus status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<ImModuleItem> getModuleItemList() {
        return moduleItemList;
    }

    public void setModuleItemList(List<ImModuleItem> moduleItemList) {
        this.moduleItemList = moduleItemList;
    }
}
